'''
*评分小程序
*
'''

total = 6
score = []
for i in range(total):
    score.append(int(input("请输入分数：")))

score.sort()
score.pop(0)
score.pop()
total = 0
for i in score:
    total += i
print(f"该选手最终得分为: {round(total / len(score))}")
